.PHONY: run get kill clean

cmd := errgroup

run:
	@go build -o errgroup && ./${cmd}
get:
	curl -i localhost:8080
kill:
	@kill -3 `lsof -i :8080 | grep errgroup  | awk '{print $$2}'` && rm ${cmd}
clean:
	@rm ${cmd}
